package com.yuan.rabbitmq;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Springboot 对Rabbitmq 自动配置了哪些东东
 * 1. RabbitAutoConfiguration
 * 2. 有自动配置了连接工厂：CachingConnectionFactory
 * 3. RabbitProperties 封装了 RabbitMQ的相关配置
 * 4. RabbitTemplate : 给RabbitMQ发送和接收消息
 * 5. AmqpAdmin : RabbitMQ系统管理功能组件
 */
@SpringBootApplication
public class RabbitmqApplication {

    public static void main(String[] args) {
        SpringApplication.run(RabbitmqApplication.class, args);
    }

}
